﻿using DTcms.Common;
using DTcms.Web.Mvc.UI;
using System.Web.Mvc;

namespace DTcms.Web.Mvc.Areas.Admin.Controllers
{
    public class SyslogController : ManageController
    {
        protected BaseApi _service = new BaseApi();
        protected int totalCount = 0;
        protected Model.manager managerModel = new Model.manager();
        protected override void OnAuthorization(AuthorizationContext filterContext)
        {
            base.OnAuthorization(filterContext);
            managerModel = GetAdminInfo();
        }

        [ChkAdminScript("email_log", DTEnums.ActionEnum.View)]
        public ActionResult Email_Log()
        {
            return View();
        }

        [ChkAdminScript("sms_log", DTEnums.ActionEnum.View)]
        public ActionResult Sms_Log()
        {
            return View();
        }
    }
}
